<script lang="ts" setup>
import {
  Goods,
  Menu,
  User as IconUser,
  Edit,
  MapLocation,
  DataAnalysis
} from '@element-plus/icons-vue'
defineProps<{ icon: string }>()
</script>

<template>
  <el-icon
    ><IconUser v-if="icon === 'icon-user'" /> <Menu v-if="icon === 'icon-menu'" />
    <Goods v-if="icon === 'goods'" /><DataAnalysis v-if="icon === 'data-analysis'" /><Edit
      v-if="icon === 'edit'" /><MapLocation v-if="icon === 'map-location'"
  /></el-icon>
</template>

<style scoped></style>
